﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FortuneHeaven.Web.Controls;
using FortuneHeavenCommon.Enum;
using FortuneHeaven.Web.Common;
using FortuneHeavenBAL;

namespace FortuneHeaven.Web
{
    public partial class Default : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Url.DnsSafeHost.ToLower() == "cj.cftt88.com")
            {//cj.cftt88.com
                Response.Redirect("http://www.cftt88.com/Lottery/LotteryShow.aspx");
                //Server.Transfer("Lottery/LotteryShow.aspx");
                return;
            }
            SetPageHeader(MainPageTabType.mainpage);
            if (!IsPostBack)
            {
                PCBackgroundBO wallBO = new PCBackgroundBO();
                rtWallpaper.DataSource = wallBO.GetWallPaper(1, 3);
                Page.DataBind();
            }
        }
    }
}